package com.luoc.spring.AOP;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/3/19 10:44
 * @since 1.0
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext bf = new ClassPathXmlApplicationContext("beanFactoryTest.xml");

        TestBean testBean = (TestBean) bf.getBean("testBean");
       // AspectTest test = (AspectTest) bf.getBean("aspectTest");
       // System.out.println(test);
        testBean.test();

    }
}
